<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>
    <c:if test="${not empty param.date}">
        <a href="/route_plan_report/all_ll_date/detail_baidu?date=${param.date}" target="_blank">查看数据分布</a>
    </c:if>
</h1>

<table border="1">
    <thead>
    <tr>
        <td>NO.</td>
        <td>ID</td>
        <td>检测时间</td>
        <td>城市</td>
        <td>区域</td>
        <td>地址</td>
        <td>经度</td>
        <td>纬度</td>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="report" items="${reports}" varStatus="status">
        <tr>
            <td>${status.index + 1}</td>
            <td>${report.id}</td>
            <td>${report.checkTime}</td>
            <td>${report.branchCityName}</td>
            <td>${report.branchAreaName}</td>
            <td>${report.address}</td>
            <td>${report.lng}</td>
            <td>${report.lat}</td>
        </tr>
    </c:forEach>
    </tbody>
</table>

</body>
</html>
